from_base64

static function from_base64(value: text): byte_array

Create a byte array from a base-64 string.

Valid base-64 strings may include the characters a-z, A-Z, 0-9, + and / as significant characters, and '=' as padding.

Since

0.9.0

Parameters

value

the base-64 string

Throws

exception

if value contains invalid characters